<?php
$this->breadcrumbs=array(
	Yii::t('yii','Message')=>array('/msg'),
	Yii::t('yii','Read')
);
?>

<?php $this->beginWidget('CHtmlPurifier'); ?>
<h2><?php echo $msg->subject; ?></h2>
<hr/>
<img alt="Avatar" src="<?php echo Yii::app()->request->baseUrl.'/images/logos/'.$msg->sender->logo; ?>" style="border:5px solid;float:left;width:10%;height:10%;margin-right:5px;"/><br/>

<b>From:<b><h2><?php echo $msg->sender->username; ?></h2>
<b>Message:<b><h2><?php echo $msg->msg; ?></h2>
<div style="height:35px;display:inline;"<img src="<?php echo Yii::app()->request->baseUrl; ?>/images/newmsg.png" alt="New" style="margin-bottom:-5px;"/><span style="font-size:20px;"><b><?php echo CHtml::link('Reply',array('msg/send','to'=>$msg->sender->username,'subject'=>$msg->subject)); ?></b></span></div>
<?php $this->endWidget(); ?>
